<!-- ./idFieldRender.vue 文件 -->
<template>
    <view v-loading="loading" class="content">
          <p>下单时间：{{ data.create_time }}</p>
          <p>支付时间：{{ data.pay_time}}</p>
          <p v-if="data.deliver_time!='' && data.deliver_time!=null">发货时间：{{ data.deliver_time }}</p>
          <!-- <p v-if="data.receive_time!=''">收货时间：{{ data.receive_time }}</p> -->
          <p v-if="data.complete_time!='' && data.complete_time!=null">完成时间：{{ data.complete_time }}</p>
    </view>
</template>

<script setup lang="ts">
import { TableColumnCtx } from 'element-plus'
import { ref ,defineProps,inject} from 'vue'
import type baTableClass from '/@/utils/baTable'
const baTable = inject('baTable') as baTableClass
import { ElMessage,ElMessageBox} from 'element-plus'
import createAxios from "/@/utils/axios";
// BuildAdmin将自动为此组件传递五个Props
interface Props {
    renderValue: any // 单元格值
    renderRow: TableRow // 当前行数据
    renderField: TableColumn // 当前列数据
    renderColumn: TableColumnCtx<TableRow> // 当前列上下文数据
    renderIndex: number // 当前行号
}
const loading = ref(false)
const props = defineProps<Props>()
const data = props.renderValue

// console.log(props.renderValue, props.renderRow, props.renderField, props.renderColumn, props.renderIndex)
</script>

<style scoped lang="scss">
.content span{
    font-size: 10px;
}
.content{
    font-size: 14px;
}
.fl{
  float: left;
}
</style>
